import 'package:flutter/cupertino.dart';

class OffetNotifier with ChangeNotifier{
  double _page =0 ;
  double get page => _page;
  offsetNotifier(PageController pageController) {
    pageController.addListener((){
      _page =  pageController.page;
      notifyListeners();

    });
  }
}